<?php
/**
 * Created by PhpStorm.
 * User: ysk
 * Date: 2021/6/21
 * Time: 17:06
 */

namespace api\modules\v1\controllers;

use api\base\BaseApiController;
use api\modules\v1\user\actions\Login\LoginAction;
use api\modules\v1\user\actions\UserDetail\UserDetailAction;
use yii\helpers\ArrayHelper;

class UserController extends BaseApiController {


    public  function  actions(){

        return ArrayHelper::merge(parent::actions()
            , [
                'login'        => LoginAction::class,      // 登录
                'detail'        => UserDetailAction::class,      // 详情
            ]);
    }

}
